﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Home.MobileSales.Sales.Interface;
using Home.MobileSales.Sales.Presenter;

namespace Home.MobileSales.Sales
{
    public partial class AboutForm : Form, IAboutView
    {
        public AboutForm()
        {
            InitializeComponent();
            assemblyNameDataGridTextBoxColumn.Width = dataGrid1.Width/2-1;
            assemblyVersionDataGridTextBoxColumn.Width = dataGrid1.Width/2-1;
            //pictureBox1.Image = (Bitmap)Properties.Resources.ResourceManager.GetObject("Visor Deluxe graphite.ico");
            new AboutFormPresenter(this); 
        }

        #region IAboutView Members

        public object Data
        {
            set 
            { 
                dataGrid1.DataSource = value;
            }
        }

        #endregion

    }
}